package org.jeecg.modules.purchase.service;

import org.jeecg.modules.purchase.entity.PurchaseGoods;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Description: 物品
 * @Author: jeecg-boot
 * @Date:   2022-11-14
 * @Version: V1.0
 */
public interface IPurchaseGoodsService extends IService<PurchaseGoods> {
    // 添加物品前校验相同物品
    void saveAndValidation(PurchaseGoods purchaseGoods);

    void updateByIdAndValidation(PurchaseGoods purchaseGoods);

    void remove(String ids);
}
